<?php if(!defined('BASEPATH')) exit('Hacking Attempt : Keluar dari sistem..!!');

class Goods_model extends CI_Model
{
		public function __construct()
		{
			parent::__construct();
		}
	  
		function get_data_summary()
		{
			$this->db->select('*');
			$this->db->from('project');
			$query = $this->db->get();
			return $query->result();
		}
		
		function get_pcs()
		{
			$this->db->select('*');
			$this->db->from('pcs');
			$query = $this->db->get();
			return $query->result();
		}
		
		function get_cur()
		{
			$query = $this->db->get('currency');
			return $query->result();
		}
		
		function get_risk()
		{
			$query = $this->db->get('risk');
			return $query->result();
		}
		
		function get_data_pcs()
		{
			$this->db->select('*');
			$this->db->from('pcs');
			$query = $this->db->get();
			return $query->resut();
		}
		
		
		
		

}